Skip to content

feat(location): open a typed file path's folder with the file selected - #266

Merged
ItsLemmy merged 3 commits into
noctalia-dev:mainfrom
iamnitesh108:feat/location-bar-file-path
Nov 30, 2026
Merged

ItsLemmy merged 3 commits into
noctalia-dev:mainfrom
iamnitesh108:feat/location-bar-file-path

Conversation

@iamnitesh108

Copy link
Copy Markdown
Contributor

Summary

Typing or pasting a file's path in the location bar now opens its folder with that file selected, including in the file picker. Folders and missing paths behave as before.

Motivation

Pasting a full path to a file used to fail, so finding a file you already have the path to took extra clicks.

Type of Change

  • New feature

Related Issue

Closes #261

Testing

  • just format, just lint and just test pass except system-mounts and both transfer-service tests, which also fail on main.
  • Tried in a running Luciole: file paths, folders, symlinked folders and missing paths.

Checklist

  • This PR is ready for review, or it is marked as Draft.
  • This change fits SCOPE.md, or its scope was agreed in an issue or on Discord first.
  • I read and followed the relevant guidance in CONTRIBUTING.md.
  • I ran just format, or this PR has no C++ changes.
  • I ran just lint and the relevant build or test commands, or explained why they were not run.
  • I ran just role-alpha-check, or this PR does not change UI colors.
  • I tested the change in a running Luciole where automated checks are insufficient.
  • I self-reviewed the changes.
  • I checked for new warnings or errors.
  • I updated docs/, or this PR does not change user-facing behavior or settings.
  • I used canonical names for settings, paths, and identifiers.

@iamnitesh108
iamnitesh108 marked this pull request as ready for review November 30, 2026 14:07

@talia-ci talia-ci Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talia preliminary review

Check Result
Merge score 🟢 4/5 — No issues found; likely ready after CI and human review
Findings None found
Review depth 3/5 — how thoroughly the changed code could be checked by reading it
Coverage 5 of 5 changed files reviewed

What Talia checked: Inspected the new openTypedText/resolveText path, CancelToken cancellation in advanceContext/destructor, queryFileType type semantics, and BrowserPage's revealOnReload/revealPendingTargets machinery plus its existing callers; remaining uncertainty is how often waitForVisitMetadata actually defers for pending metadata at submit time.

Run details
  • Commit reviewed: 8d8795f
  • Source lookups: 28 file reads, 19 searches
  • Prompt version: 859b7490ca3d

Preliminary automated review: Talia read the changed code and related source; nothing was built, run or tested, and AI can make mistakes. It is not a scope acceptance or a promise to merge; a human reviewer makes the final call. See our ethos.

@ItsLemmy

Copy link
Copy Markdown
Member

Thank you nitesh, I've added a commit that drops the never-null revealFile check, and one that makes the docs say the typed file path opens on Enter, since pasting on its own doesn't submit.

@ItsLemmy
ItsLemmy merged commit e461a65 into noctalia-dev:main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Pasting a full path in the navigation bar should work for files

2 participants